let fun = function (){
  console.log("this is fun")
};

let copy = fun;

fun = ()=>{
  console.log("mini function")
};

copy()
